Auto merge of #2685 - mkroman:master, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 17 May 2016 16:00:28 +0000 (09:00 -0700)
committerbors <bors@rust-lang.org>
Tue, 17 May 2016 16:00:28 +0000 (09:00 -0700)
commita394619be878182908c9177e369c5fda366bf8e7
tree7dd96acab31c49b15f1bc0fcb70263c5e8e2de75
parent4e009a6c812eecb0333bacf9e80e7cfa0948646b
parent39889461d4e352779fef1d942c52177e96976c51
Auto merge of #2685 - mkroman:master, r=alexcrichton

Fix `cargo test --doc` not testing examples

When running cargo doc --test in a project folder, cargo does not test documentation examples, it only builds the project and exits.

Refer to issue #2684